package com.project.easyt.common.db.common.enums;

import  com.project.easy.common.util.enums.BaseEnums;

/**
 * @author GreatorMan.cool
 * @copyright: Copyright (c) 2020
 * @company: 扬起科技有限公司
 * @date 2021/9/8 21:32
 * @description:
 */
public enum  DbEnums  implements BaseEnums {

    WRITE("write", "写数据库"), READ("read", "读数据库");

    DbEnums(String code, String name) {
        this.code = code;
        this.name = name;
    }
    /**
     * 编码
     */
    private String code;
    /**
     * 描述
     */
    private String name;

    @Override
    public String getCode() {
        return code;
    }
    @Override
    public String getName() {
        return name;
    }
}
